package com.own.component.token.jwt.property;

import com.own.constant.ConstantValue;
import lombok.Data;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * TokenJwtProperty
 *
 * @author chenxueli
 * @date 2022-12-20 09:10:57
 */
@Data
@SpringBootConfiguration
@ConfigurationProperties(prefix = TokenJwtProperty.PREFIX)
public class TokenJwtProperty {

    public static final String PREFIX = ConstantValue.CONFIG_VALUE_CONTENT + "token.jwt";

    /**
     * 公钥
     */
    private String publicKey;

    /**
     * 私钥
     */
    private String privateKey;

}
